package com.smart.community.order.controller;

import com.smart.community.order.common.dto.OrderDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/order")
@Api(tags = "订单系统Api接口文档")
public class OrderController {

    @GetMapping("/confirm")
    @ApiOperation("确认订单")
    public String confirmOrder() {
        return "";
    }

    /**
     * 参数什么
     *
     *
     * @param order
     * @return
     */
    @PostMapping("/create")
    public String createOrder(@RequestBody OrderDTO order) {
        // 支付信息
        return "";
    }

}
